#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "FreeRTOS.H"
#include "task.h"
#include "led.h"

TaskHandle_t task1Handler;
void task1(void *arg)
{
	while(1)
	{
		LED_on();
		Delay_ms(500);
		LED_off();
		Delay_ms(500);
	}
}


int main(void)
{
	LED_init(); 
	
	xTaskCreate(task1,"task1",512,NULL,2,&task1Handler);
	vTaskStartScheduler();	
}
